package com.mars.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 开启注册中心客户端
@EnableDiscoveryClient
// 开启 Feign 调用 provider
@EnableFeignClients
public class DmCloudUserConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DmCloudUserConsumerApplication.class, args);
    }

}
